body {
    margin: 0;
    padding: 0;
}

.dialog {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 30%;
    height: 30%;
    margin: -15% 0 0 -15%;
    background-color: #000;
    border-radius: 5px;
}

.dialog .content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: #fff;
    height: 80%;
    padding: 0 10px;
}

.wrapper .content .json-result {
    width: auto;
    height: 100%;
    overflow-y: auto;
    overflow-x: auto;
    flex: 1;
}

.dialog .btns {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 20%;
}

.dialog .btns button {
    outline: none;
    border: none;
    padding: 5px;
}

.wrapper {
    height: 50vh;
    border: 1px solid #ccc;
    overflow: hidden;
}

.wrapper .content {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 90%;
}

.wrapper .content .json_text {
    position: relative;
    display: flex;
    flex-direction: row;
    width: 50%;
    height: 100%;
    border-right: 1px solid #ccc;
}

.wrapper .content .json_text .drag-line {
    position: absolute;
    right: 0;
    width: 4px;
    height: 100%;
    /* , url(move.png) 20 20, pointer; */
    cursor: col-resize;
    padding: 0 1.5px;
}

.wrapper .content .json_text textarea {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.wrapper .controller {
    width: 100%;
    height: 10%;
    border-top: 1px solid #ccc;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.wrapper .controller .commen-btn {
    outline: none;
    border: none;
    background-color: #000;
    color: #fff;
    padding: 5px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 10px;
}

.tree-wrapper {
    width: 100%;
    height: 100vh;
}

.tree-wrapper .tree {
    overflow: hidden;
}

.tree-wrapper .tree .tree-head {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 20px;
    cursor: pointer;
    user-select: none;
}

.tree-wrapper .tree .tree-head .jiantou-wrapper {
    width: 20px;
    height: 20px;
}

.tree-wrapper .tree .tree-head .jiantou-wrapper img {
    width: 100%;
    height: 100%;
}

.tree-wrapper .tree .tree-head .jiantou-wrapper img.active {
    transform: rotate(-90deg);
    transition: transform 0.5;
}

.tree-wrapper .tree .tree-head .jiantou-wrapper .tree-text {
    line-height: 20px;
    height: 20px;
}

.tree-text span:hover {
    color: aqua;
}

.tree-wrapper .tree .childs {
    width: 100%;
    margin-left: 40px;
    text-align: left;
}